package com.lhd.qd.module.system.user.model.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.time.LocalDateTime;

@ApiModel(value = "用户登录日志列表返回结果")
@Data
public class UserLoginLogListVO {

    @ApiModelProperty(value = "id")
    private Long id;

    @ApiModelProperty(value = "用户名")
    private String username;

    @ApiModelProperty(value = "登录时间")
    private LocalDateTime loginTime;

    @ApiModelProperty(value = "平台")
    private String platform;

    @ApiModelProperty(value = "主机名")
    private String hostname;

    @ApiModelProperty(value = "主机用户名")
    private String hostUsername;

    @ApiModelProperty(value = "ipv4")
    private String ipv4;

    @ApiModelProperty(value = "mac地址")
    private String mac;

    @ApiModelProperty(value = "是否登录成功")
    private Boolean success;

    @ApiModelProperty(value = "失败原因")
    private String failureReason;
}
